<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Nine Percent 武林外传代言</title>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <style type="text/css" media="screen">
    body {
        width: 960px;
        margin: 0 auto;
        font: 18px/1.8em '宋体';
    }

    h1 {
        color: blue;
    }

    .red {
        color: red;
    }

    .center {
        text-align: center;
    }

    .even {
        background-color: #ccc;
    }
    </style>
    <script>
    jQuery(document).ready(function() {
        // jQuery能使用CSS选择符选择特定的元素
        $("#demo").addClass('red');

        $("p:contains('mgc')").addClass('red');
    });
    </script>
</head>

<body>
    <h1 id="demo" class="center">武林外传代言</h1>
    <p>RPGQ版大型IP手游</p>
    <p>广告由陈漫执导。</p>
    <ul>
        <li>:主题曲</li>
        <li>:平面作品</li>
        <li>:解锁视频</li>
    </ul>
    <div>
        <p>需在游戏内花钱投票获得。</p>
    </div>
    <h2>代言视频内容</h2>
    <table>
        <tr>
            <td>不</td>
            <td>老</td>
            <td>梦</td>
            <td>之</td>
            <td>临</td>
        </tr>
        <tr>
            <td>棠</td>
            <td>红</td>
            <td>棣</td>
            <td>雪</td>
            <td>曲</td>
        </tr>
        <tr>
            <td>杀</td>
            <td>伐</td>
            <td>和</td>
            <td>却</td>
            <td>邪</td>
        </tr>
        <tr>
            <td>江</td>
            <td>南</td>
            <td>诚</td>
            <td>不</td>
            <td>换</td>
        </tr>
        <tr>
            <td>盛</td>
            <td>夏</td>
            <td>殷</td>
            <td>红</td>
            <td>雨</td>
        </tr>
    </table>
</body>

</html>
